in particular, we ll look into bug patterns that crop up as null pointer exceptions and discuss how to minimize their occurrence 我們將特別看一下作為空指針異常而出現(xiàn)的錯誤模式,并討論如何將它們的出現(xiàn)次數(shù)控制到最少。
a null pointer exception is returned in the application server file systemout . log when ifxbblob or ifxcblob is created using a serialized object and sent to the server 當使用串行化的對象創(chuàng)建ifxbblob或ifxcblob并將它們發(fā)送到服務(wù)器時,會返回一個空指針異常。
a null pointer exception is a fairly common run time error, which can stem from variables such as arrays not being initialized, or other cases where a program is attempting to use a null in the place of an object nullpointerexception是一種很常見的運行時錯誤,這種錯誤來源于變量(例如數(shù)組)沒有進行初始化,或者是某個應(yīng)用程序企圖在對象位置使用空指針的情況。